/**
 * 
 */
package jvs.peer.io;

/**
 * @author qiangli
 *
 */
public class Header {
	
	private String thread;
	private String peer;
	private int mode = 1; 
	private String from;
	
	public Header() {
	}

	public String getThread() {
		return this.thread;
	}

	public void setThread(String thread) {
		this.thread = thread;
	}

	public String getPeer() {
		return peer;
	}

	public void setPeer(String peer) {
		this.peer = peer;
	}

	public int getMode() {
		return this.mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}
	
	public String getFrom() {
		return this.from;
	}
	
	public void setFrom(String from) {
		this.from = from;
	}

	@Override
	public String toString() {
		return "Header [thread=" + thread + ", peer=" + peer + ", mode=" + mode
				+ ", from=" + from + "]";
	}

}
